package com.hdw.med.mapper;

import com.hdw.med.bean.model.BaseIndex;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * BaseIndex数据接口
 */
@Mapper
public interface BaseIndexMapper {

	List<BaseIndex> findByModel(BaseIndex baseIndex);

	int deleteByPrimaryKey(String pk);

	int insert(BaseIndex baseIndex);

	int insertSelective(BaseIndex baseIndex);

	BaseIndex selectByPrimaryKey(String pk);

	int updateByPrimaryKeySelective(BaseIndex baseIndex);

	int updateByPrimaryKey(BaseIndex baseIndex);

	List<BaseIndex> findByLike(@Param("filter") String filter);
}